package org.jeecg.modules.meter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.entity.meter.Meter;
import org.jeecg.entity.meter.MeterSmsConfig;
import org.jeecg.vo.meter.MeterSwitchRespVo;

import java.util.List;

/**
 * @Description: 短信
 * @Author: jeecg-boot
 * @Date:   2020-12-24
 * @Version: V1.0
 */
public interface MeterSmsConfigMapper extends BaseMapper<MeterSmsConfig> {

    IPage<MeterSmsConfig> findPage(Page<MeterSmsConfig> page, @Param("meterSmsConfig") MeterSmsConfig meterSmsConfig);

    Integer querySwitch(@Param("meterId") String meterId);


}
